package homework.test8;

public class Demo8_2 {
    public static void main(String[] args) {
        MyThread8_2 m = new MyThread8_2();

        Thread mt1 = new Thread(m);
        Thread mt2 = new Thread(m);


        mt1.setName("窗口一");
        mt2.setName("窗口二");


        mt1.start();
        mt2.start();

    }
}
